package com.ys.data;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;


@SpringBootApplication(scanBasePackages ={ "com.ys.data","com.common"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages ={"com.ys.data.client"})//指定扫描feignClient路径
@EnableAsync
public class YsDataOrderApplication {

    public static void main(String[] args) {
        SpringApplication.run(YsDataOrderApplication.class, args);
    }

}
